function filterDropDown(listindex, dropdown, baseIndex)
{
	if(baseIndex==1){
		dropdown.options.length = 0;
		dropdown.options[0]=new Option("Select Product...","");
		dropdown.options[0].selected=true;
	}
	baseIndex--;
	var size=0;
	switch (listindex)
	{

	case 1 :
		dropdown.options[baseIndex+1]=new Option("Romper","19");
		dropdown.options[baseIndex+2]=new Option("Top","23");
		size=2;

		break;

	case 2 :
		dropdown.options[baseIndex+1]=new Option("Blouse","3");
		dropdown.options[baseIndex+2]=new Option("Shorts","21");
		dropdown.options[baseIndex+3]=new Option("Long Pants","13");
		dropdown.options[baseIndex+4]=new Option("Skirts","22");
		dropdown.options[baseIndex+5]=new Option("Bloomers","2");
		dropdown.options[baseIndex+6]=new Option("Dress","9");
		dropdown.options[baseIndex+7]=new Option("Pajama Set","17");
		size=7;

		break;

	case 3 :
		dropdown.options[baseIndex+1]=new Option("T-shirt(Long Sleeve)","28");
		dropdown.options[baseIndex+2]=new Option("T-shirt(Short Sleeve)","29");
		dropdown.options[baseIndex+3]=new Option("Skirts","22");
		dropdown.options[baseIndex+4]=new Option("Pajama","17");
		dropdown.options[baseIndex+5]=new Option("Shorts","21");
		dropdown.options[baseIndex+6]=new Option("Nightdress","16");
		dropdown.options[baseIndex+7]=new Option("Gown","11");
		dropdown.options[baseIndex+8]=new Option("Capri","5");
		dropdown.options[baseIndex+9]=new Option("Trouser","26");
		dropdown.options[baseIndex+10]=new Option("Denim","8");
		dropdown.options[baseIndex+11]=new Option("Blouse","3");
		dropdown.options[baseIndex+12]=new Option("Shirts","20");
		size=12;

		break;

	case 4 :
		dropdown.options[baseIndex+1]=new Option("Pajama","17");
		dropdown.options[baseIndex+2]=new Option("T-shirt","27");
		dropdown.options[baseIndex+3]=new Option("Casual Shirts","6");
		dropdown.options[baseIndex+4]=new Option("Formal Shirts","10");
		dropdown.options[baseIndex+5]=new Option("Denims","8");
		dropdown.options[baseIndex+6]=new Option("Jackets","12");
		dropdown.options[baseIndex+7]=new Option("Trouser","26");
		dropdown.options[baseIndex+8]=new Option("Shorts","21");
		dropdown.options[baseIndex+9]=new Option("Night suits","15");
		size=9;

		break;

	case 5 :
		dropdown.options[baseIndex+1]=new Option("Babies","1");
		dropdown.options[baseIndex+2]=new Option("Children","7");
		dropdown.options[baseIndex+3]=new Option("Boy-Warm Line Fleece","4");
		dropdown.options[baseIndex+4]=new Option("Lower","14");
		dropdown.options[baseIndex+5]=new Option("Top(Full sleeve)","24");
		dropdown.options[baseIndex+6]=new Option("Top(Short sleeve)","25");
		size=6;

		break;

	}
	return size;
}